<!-- 他的关注 -->
<template>
  <div class="topSeparator">
    <el-divider content-position="center">全部关注(6)</el-divider>
  </div>
  <!-- 关注的用户 -->
  <div class="concernedUsers">
    <!-- 用户头像 -->
    <div class="avatar">
      <el-avatar fit="cover" :size="50"
                 src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
      ></el-avatar>
    </div>
    <!-- 用户信息 -->
    <div class="information">
      <span>周哈哈</span>
      <n-ellipsis class="title" style="max-width: 300px;font-family: YouYuan;width: 300px;text-align: left;
      height: 15px;color: darkgray;line-height: 15px;font-size:8px;">
        你就说你信不信我先~
      </n-ellipsis>
    </div>
    <!-- 关注状态 -->
    <div class="attentionState">
      <el-switch v-model="value1" disabled />
    </div>
  </div>
  <div class="concernedUsers">
    <!-- 用户头像 -->
    <div class="avatar">
      <el-avatar fit="cover" :size="50"
                 src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
      ></el-avatar>
    </div>
    <!-- 用户信息 -->
    <div class="information">
      <span>周哈哈</span>
      <n-ellipsis class="title" style="max-width: 300px;font-family: YouYuan;width: 300px;text-align: left;
      height: 15px;color: darkgray;line-height: 15px;font-size:8px;">
        你就说你信不信我先~
      </n-ellipsis>
    </div>
    <!-- 关注状态 -->
    <div class="attentionState">
      <el-switch v-model="value2" disabled />
    </div>
  </div>
  <div class="concernedUsers">
    <!-- 用户头像 -->
    <div class="avatar">
      <el-avatar fit="cover" :size="50"
                 src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
      ></el-avatar>
    </div>
    <!-- 用户信息 -->
    <div class="information">
      <span>周哈哈</span>
      <n-ellipsis class="title" style="max-width: 300px;font-family: YouYuan;width: 300px;text-align: left;
      height: 15px;color: darkgray;line-height: 15px;font-size:8px;">
        你就说你信不信我先~
      </n-ellipsis>
    </div>
    <!-- 关注状态 -->
    <div class="attentionState">
      <el-switch v-model="value3" disabled />
    </div>
  </div>
  <div class="concernedUsers">
    <!-- 用户头像 -->
    <div class="avatar">
      <el-avatar fit="cover" :size="50"
                 src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
      ></el-avatar>
    </div>
    <!-- 用户信息 -->
    <div class="information">
      <span>周哈哈</span>
      <n-ellipsis class="title" style="max-width: 300px;font-family: YouYuan;width: 300px;text-align: left;
      height: 15px;color: darkgray;line-height: 15px;font-size:8px;">
        你就说你信不信我先~
      </n-ellipsis>
    </div>
    <!-- 关注状态 -->
    <div class="attentionState">
      <el-switch v-model="value4" disabled />
    </div>
  </div>
  <div class="concernedUsers">
    <!-- 用户头像 -->
    <div class="avatar">
      <el-avatar fit="cover" :size="50"
                 src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
      ></el-avatar>
    </div>
    <!-- 用户信息 -->
    <div class="information">
      <span>周哈哈</span>
      <n-ellipsis class="title" style="max-width: 300px;font-family: YouYuan;width: 300px;text-align: left;
      height: 15px;color: darkgray;line-height: 15px;font-size:8px;">
        你就说你信不信我先~
      </n-ellipsis>
    </div>
    <!-- 关注状态 -->
    <div class="attentionState">
      <el-switch v-model="value5" disabled />
    </div>
  </div>
  <div class="concernedUsers">
    <!-- 用户头像 -->
    <div class="avatar">
      <el-avatar fit="cover" :size="50"
                 src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
      ></el-avatar>
    </div>
    <!-- 用户信息 -->
    <div class="information">
      <span>周哈哈</span>
      <n-ellipsis class="title" style="max-width: 300px;font-family: YouYuan;width: 300px;text-align: left;
      height: 15px;color: darkgray;line-height: 15px;font-size:8px;">
        你就说你信不信我先~
      </n-ellipsis>
    </div>
    <!-- 关注状态 -->
    <div class="attentionState">
      <el-switch v-model="value6" disabled />
    </div>
  </div>
  <el-pagination style="background-color: white" layout="prev, pager, next" :total="1000">
  </el-pagination>
</template>

<script>
export default {
  name: 'myFollow',
  data () {
    return {
      value1: true,
      value2: true,
      value3: true,
      value4: true,
      value5: true,
      value6: true
    }
  }
}
</script>

<style scoped>
.topSeparator{
  display: flex;
  background-color: white;
  width:100% ;
  height: 50px;
}
.concernedUsers{
  height: 80px;
  flex-direction: row;
  align-items: stretch;
  display: flex;
  border-bottom:lightgray dashed 1px ;
}
.concernedUsers:hover{
  background-color: #E4E7ED;
  cursor: pointer;
}
.concernedUsers .avatar{
  width: 50px;
  height: 50px;
  margin: 15px 5px 15px 30px;
}
.concernedUsers .information{
  /*background-color: #1989fa;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 50px;
  margin: 15px 5px 15px 5px;
}
.concernedUsers .information span{
  width: 100px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  font-size: 16px;
  font-weight: 550;
  text-align: left;
  margin-bottom: 5px;
}
.concernedUsers .attentionState{
  margin: auto 0;
  margin-left: 150px;
}
</style>
